//package com.hshx.client;
//
//import com.hshx.pojo.Agency;
//import org.springframework.cloud.openfeign.FeignClient;
//import org.springframework.cloud.openfeign.SpringQueryMap;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RequestParam;
//
//import java.util.List;
//
//@FeignClient(name = "gateway",
//        path = "/workService",
//        contextId = "AgencyClient")
//public interface AgencyClient {
//    @RequestMapping("/addAgency")
//    boolean addAgency(@SpringQueryMap Agency agency);
//
//    @RequestMapping("/removeAgency")
//    boolean removeAgency(@RequestParam(name = "agencyId") int agencyId);
//
//    @RequestMapping("/updateAgency")
//    boolean updateAgency(@SpringQueryMap Agency agency);
//
//    @RequestMapping("/getAllAgency")
//    List<Agency> getAllAgency();
//
//    @RequestMapping("/getAgencyOne")
//    Agency getAgencyOne(@RequestParam(name = "agencyId") int agencyId);
//}
